<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\ShopCart
 *
 * @property int $id 地址标识
 * @property int $user_id 用户标识
 * @property int $goods_id 商品id
 * @property float $unit_price 商品单价
 * @property int $num 商品数量
 * @property float $amount_money 最终金额
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\ShopCart onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereAmountMoney($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereUnitPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\ShopCart withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\ShopCart withoutTrashed()
 * @mixin \Eloquent
 * @property int $good_spu_id 商品属性id
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ShopCart whereGoodSpuId($value)
 */
class ShopCart extends Model
{
    protected $table = 'shop_cart';
    use SoftDeletes;
}
